SetValueByName<T>(String,PropertyType,T) Method
In This Topic
Sets the named property to the given value.
Syntax
'Declaration
Public Overloads Sub SetValueByName(Of As {New, Struct})( _
ByVal As System.String, _
ByVal As PropertyType, _
ByVal As _
)
public void SetValueByName<>(
System.string ,
PropertyType ,
)
where T: new(), struct
Parameters
- name
- Name of the property
- type
- Property type.
- value
- Value of the property
Type Parameters
- T
See Also